//
//  HMTreatyViewController.m
//  HowToDo
//
//  Created by 李贺 on 2017/1/6.
//  Copyright © 2017年 KY. All rights reserved.
//

#import "HMTreatyViewController.h"

@interface HMTreatyViewController ()

@end

@implementation HMTreatyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UIWebView * webView = [[UIWebView alloc] init];
    
    [self.view addSubview:webView];
    webView.frame = self.view.bounds;
    
    NSURL * url = [NSURL URLWithString:@"http://lol.qq.com/"];
    NSURLRequest * request = [NSURLRequest requestWithURL:url];
    [webView loadRequest:request];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
